<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" layout:decorator="index">
<head>
<meta charset="UTF-8"/>
<title>Insert title here</title>

<!-- 引入 Bootstrap -->
   <link   href="../../../static/bootstrap-3.3.7-dist/css/bootstrap.min.css" rel="stylesheet"></link>
     <!--springboot默认路径-->
   <link href="bootstrap-3.3.7-dist/css/bootstrap.min.css" rel="stylesheet"></link>
<!--自己的样式-->
    <link href="location.css" rel="stylesheet"></link>
    <link href="../../../static/location.css" rel="stylesheet"></link>
   <!-- HTML5 Shiv 和 Respond.js 用于让 IE8 支持 HTML5元素和媒体查询 -->
   <!-- 注意： 如果通过 file://  引入 Respond.js 文件，则该文件无法起效果 -->
   <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
      <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
   <![endif]-->
   <!-- jQuery (Bootstrap 的 JavaScript 插件需要引入 jQuery) -->
    <script src="https://code.jquery.com/jquery.js"></script>
    <!-- 包括所有已编译的插件 -->
    <script src="../../../static/bootstrap-3.3.7-dist/js/bootstrap.min.js"></script>
    <!--springboot默认路径-->
    <script src="bootstrap-3.3.7-dist/js/bootstrap.min.js"></script>




</head>

<body>
<div layout:fragment="content" class="content">
    <ol class="breadcrumb" th:object="${funplace}">
	  <li th:text="*{funplace1}"><a href="#" >系统管理</a></li>
	  <li th:text="*{funplace2}"><a href="#" >用户管理</a></li>
	  <li th:text="*{funplace3}" class="active" >用户添加</li>
 	</ol>
  <form class="form-horizontal" role="form" th:object="${topmodule}" action="/top/updateModule" method="post">

          <div class="form-group">
            <label  class="col-sm-2 control-label">模块id</label>
            <div class="col-lg-2">

              <input type="hidden"  th:value="*{id}" name="id" class="form-control"  id="firstname" placeholder="请输入用户名"/>
            </div>
          </div>

          <div class="form-group">
        		<label  class="col-sm-2 control-label">用户名</label>
        		<div class="col-lg-2">

        			<input type="text"  th:value="*{modulename}" name="modulename" class="form-control" id="firstname" placeholder="请输入新加模块"/>
            </div>
        	</div>

          <div class="form-group">
            <label  class="col-sm-2 control-label">真实姓名</label>
            <div class="col-lg-2">

              <input type="text"  th:value="*{modulenote}" name="modulenote" class="form-control" id="firstname" placeholder="备注"/>


            </div>
          </div>


        	<div class="form-group">
        		<div class="col-sm-offset-2 col-sm-10">
        			<button type="submit" class="btn btn-success" >添加</button>
              <button onclick="history.go(-1)" class="btn btn-warning" >返回</button>

        		</div>
        	</div>
</form>
</div>
</body>
</html>
